﻿using System;

namespace BLL.Services.Books
{
    public class Book
    {
        public Book()
        {
            AuthorIds = new int[0];
            CategoryIds = new int[0];
        }
        public int BookId { get; set; }

        public DateTime DateOfPublish { get; set; }

        public string ShortContent { get; set; }

        public string Name { get; set; }

        public string Avatar { get; set; }

        public string FileName { get; set; }

        public int UserId { get; set; }

        public int[] AuthorIds { get; set; }
        
        public int[] CategoryIds { get; set; }
    }
}
